home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows5 / winminit.zip / FORM1.FRM (.txt) < prev    next >
Visual Basic Form  |  1992-03-16  |  4KB  |  182 lines

  1.     MinWindow
  2. Minimize a Window
  3. Form1*
  4. Label3D1
  5. Label3D
  6. List1
  7. Label2
  8. /Select a Window to Minimize then press Minimize
  9. Minim
  10. Minimize
  11. SetWinFlagsv
  12.     WF_CPU286
  13.     WF_CPU386T
  14.     WF_CPU486
  15. WF_STANDARD(
  16. WF_ENHANCED
  17. WF_80x87
  18. Form_Click
  19. Form_GotFocus
  20. WInFlagsp
  21. GetWinFlags9
  22. Label1
  23. Label1_Click+
  24. caption
  25. @    Form_Load@
  26. GetVersion$
  27. WinVer
  28. DosVer
  29. label3
  30. label2
  31. GetSystemMetrics
  32. nIndex
  33. SM_MOUSEPRESENT,
  34. Label4
  35. GetDeviceCaps
  36. PLANES
  37.     BITSPIXEL 
  38. Label5
  39. GetProfileString3
  40. Sname
  41. Knamey
  42. Default
  43. nSize
  44. FindAppX
  45. Label6
  46. GetWindowsDirectory
  47. Command1_Clicku
  48. WinDir_Click
  49. WinPath4
  50. Label5_Click
  51. GetModuleHandle
  52. Filename
  53. Filename_ClickD
  54. GetModuleFileName
  55. hModule
  56. Label6_Click
  57. GetModuleUsage
  58. numusedl
  59. Label7
  60. Actwin
  61. GetActiveWindow
  62. hand.
  63. GetNextWindow
  64. Wflag
  65. Nextwin
  66.     DONextwin
  67. GetNumTasks 
  68. RetstrH
  69. GetWindowText
  70. lebel2
  71.     GetParent>
  72. GetTopWindow
  73. Label8
  74. GetWindowTask
  75. label9caption>
  76. Label90
  77. Label10
  78. Label11
  79. label
  80. IsWindow
  81. IsWindowVisible
  82. IsIconic
  83. IsWindowEnabled
  84. isitx
  85. IsChild)
  86. hWndParentx
  87. chldX
  88. Restr
  89. Form_Paint
  90. Isicon
  91. form1K
  92. @    Out_Click
  93. ShowWindow
  94. nCmdShow
  95. Showits
  96. iconmin7
  97. Minim_Click~
  98. index
  99. minit
  100. SW_HIDE
  101. SW_SHOWNORMALm
  102.     SW_NORMAL
  103. SW_SHOWMINIMIZED
  104. SW_SHOWMAXIMIZED
  105. SW_MAXIMIZE3
  106. SW_SHOWNOACTIVATE
  107. SW_SHOWB
  108. SW_MINIMIZEe
  109. SW_SHOWMINNOACTIVE"
  110.     SW_SHOWNA
  111. SW_RESTORE
  112. GW_HWNDFIRST
  113. GW_HWNDLAST
  114. GW_HWNDNEXT
  115. GW_HWNDPREV
  116. GW_OWNER
  117. GW_CHILDB
  118. IsMax
  119.     LenRetStrK
  120. IsVis,
  121. Kwindow
  122.     MinWindow+
  123. IsZoomed
  124. text1_
  125. text2
  126. Nexwin
  127. Kwindlw
  128. enabled
  129. FALSEa
  130.     backcolor
  131. BLACK
  132. Oldcolor
  133. Label1_Change
  134. Label1_DragOver
  135. Source
  136. State
  137. Oldindex
  138. List1_Click
  139. List1
  140. Label2_Click
  141.     listindex
  142. removeindexU
  143.     ErrorDemop
  144. Errorhandler
  145.     UserError
  146. IsChld@
  147. RETCODE
  148. RETNAMEf
  149. GetTsk
  150. IsEnab
  151. Numstr
  152. reterr
  153. Form_Load
  154.  Find all Parentsa
  155.  Get the next window w
  156.  should be this window 
  157.  Is it minimized?*
  158.  no so add to list
  159.  Cycle all windows until end
  160.  Is minimized*
  161.  Is visiblee
  162.  only non-icons please
  163.  want visible windows
  164.  want parents only
  165.  is parent so add it
  166.  initialize again2
  167.  Don't show this window, it's this one!e
  168. Out_Click
  169. Minim_Click
  170.  Set up error handler.
  171.  Capture the list box text, stripx
  172.  window number from string and
  173.  call Minimize function. Some topi
  174.  stay visible windows may give overm
  175.  flow error, so trap them. After minimizef
  176.  remove entry from list.
  177. Cannot minimize this Window"
  178. List1_Click
  179.  capture the selected window
  180. Command1_Click
  181. ErrorDemoo
  182.